package cn.wen.springframework.context;import cn.wen.springframework.beans.BeansException;import cn.wen.springframework.beans.factory.Aware;/** * @ClassName: ApplicationContextAware * @Author: 小飞 * @Date: 2023/3/28 17:38 * @Description: 实现此接口，既能感知到所属的 ApplicationContext */public interface ApplicationContextAware extends Aware {    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;}